package com.ahua.mallchat.common.domain.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
public class ModifyNameReq {
    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空噢")
    @Length(max = 6, message = "名称太长了噢")
    private String name;
}
